Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate snafu to 0.8 #414

Merged
merged 1 commit into from
Dec 30, 2023
Merged

Update Rust crate snafu to 0.8 #414

merged 1 commit into from
Dec 30, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
snafu dependencies minor 0.7 -> 0.8

Release Notes

shepmaster/snafu (snafu)

v0.8.0

Compare Source

Added
  • snafu(transparent) allows creating compound error types that act
    as if they were not present, delegating thier Display and Error
    implementations to the source error. This is useful when aggregating
    smaller errors that already completely explain the failure.

  • ResultExt::boxed and ResultExt::boxed_local are available to
    convert an error value into an owned trait object. This is useful
    when an error type is a generic controlled by the caller.

Changed
  • Rust 1.56 is now the minimum supported Rust version. This is a
    breaking change.

  • Rust 1.65 is now the default supported Rust version. This is a
    breaking change.

  • The item type of the ChainCompat iterator is now &'a (dyn Error + 'b) to allow downcasting the error trait object to a concrete
    type. This is a breaking change.

  • Error fields marked location are no longer automatically
    implicitly created. This is a breaking change.

  • Adding #[snafu] attributes to the field of a tuple struct are now
    errors. This is a breaking change.

  • The SNAFU copy of the Error trait now marks the description and
    cause methods as deprecated, following the standard library's
    example. This trait is only active when using SNAFU in a no_std
    environment and no functional difference is intended.

Removed
  • The default Display implementation no longer includes the error
    text of the source error. This is a breaking change.

  • The backtraces and unstable-backtraces-impl-std feature flags
    have been removed. This is a breaking change. The Backtrace
    type is now the standard library's Backtrace type when it is
    available.

Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) December 30, 2023 01:05
@renovate renovate bot merged commit b80aa02 into master Dec 30, 2023
@renovate renovate bot deleted the renovate/snafu-0.x branch December 30, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants